package com.brook.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brook.domain.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Brook
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * select perms by user id on Menu
     * @param userId
     * @return
     */
    List<String> selectPermsByUserId(Long userId);
}
